package org.example.ReflectDemo.test1;

public class StaticMain {
    public static void main(String[] args) {
        HouseSubject houseSubject = new RealHouseSubject();
        HouseProxy proxy=new HouseProxy(houseSubject);
        proxy.rentHouse();
    }
}
